﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.TimeZoneInfo;
using System.Transactions;
using SqlSugar;

namespace Warehouse.Domain
{
    /// <summary>
    /// 出入库记录表
    /// </summary>
    public class logSheet
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int TransactionId { get; set; }
        /// <summary>
        /// 生产订单表id
        /// </summary>
        public int ProdunctionId { get; set; }
        /// <summary>
        /// 仓库id
        /// </summary>
        public int WarehouseId { get; set; }
       
        /// <summary>
        /// 客户订单表的订单号
        /// </summary>
        public int CoId { get; set; }
        /// <summary>
        /// 出入库类型
        /// </summary>
        public string LogType { get; set; }
        /// <summary>
        /// 出入库数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 库存数量
        /// </summary>
        public int InventoryQuantity { get; set; }
        /// <summary>
        /// 操作人员id
        /// </summary>
        public int Operator { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime TransactionTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 备注出入库原因
        /// </summary>
        public string Note { get; set; }
        /// <summary>
        /// 逻辑删
        /// </summary>
        public bool IsDel { get; set; }











    }
}
